/*
 * sht20.h
 *
 *  Created on: May 13, 2023
 *      Author: zhulijun
 */

#ifndef INC_SHT20_H_
#define INC_SHT20_H_

#include "my_inc.h"


#define SHT20_W_ADDR  0X80
#define SHT20_R_ADDR  0X81

#define SHT20_T_ADDR	0xF3
#define SHT20_RH_ADDR	0XF5

void SHT20_Init(void);
uint16_t SHT20_ReadData(uint8_t ADDR);
double SHT20_Get_T_Value(uint16_t data);
double SHT20_Get_RH_Value(uint16_t data);


#endif /* INC_SHT20_H_ */
